<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工件: 设计类</title>
<meta content="Artifact" name="uma.type">
<meta content="rup_design_class" name="uma.name">
<meta content="设计类" name="uma.presentationName">
<meta content="WorkProductType:model_element:模型元素" name="uma.category">
<meta content="Artifact" name="element_type">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../';
					var imgPath = './../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_qwxC8N7YEdmjRZts2c4ZjQ", "{DB21F5EF-810B-4994-B120-79FA8774FA9D}", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_QV4x0AISEdqTna4sZVFRow", "_kjFBYN7HEdm8G6yT7-Wdqw", "{8CDAEAD4-5E84-4F50-87FD-3240ED047DE7}", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_f6_YwN7DEdmsEI4YDGX2ag", "_qwxC8N7YEdmjRZts2c4ZjQ", "{DB21F5EF-810B-4994-B120-79FA8774FA9D}", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_Jvt1cAIaEdqEutyfYo0quQ", "_EOvXUN7HEdm8G6yT7-Wdqw", "_kjFBYN7HEdm8G6yT7-Wdqw", "{8CDAEAD4-5E84-4F50-87FD-3240ED047DE7}", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_Jvt1cAIaEdqEutyfYo0quQ", "_jijhYAIaEdqEutyfYo0quQ", "_mTMIkN7REdmjRZts2c4ZjQ", "{8CDAEAD4-5E84-4F50-87FD-3240ED047DE7}", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_Jvt1cAIaEdqEutyfYo0quQ", "_jijhYAIaEdqEutyfYo0quQ", "_n7ZcgN7REdmjRZts2c4ZjQ", "{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo, '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{952A9CE9-D5A3-43AC-980D-0B9298F3872E}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工件：设计类</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../core.base_rup/workproducts/resources/class.jpg"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">该工件描述了一组共享相同的职责、关系、操作、属性和语义的对象。</td>
</tr>
<tr>
<td>工作产品类型：<a href="./../../core.base_rup/workproducttypes/model_element_74CA3914.html" guid="_n7ZcgN7REdmjRZts2c4ZjQ">模型元素</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">用途</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="XE_class__as_artifact" name="XE_class__as_artifact"></a><a id="Top" name="Top"></a><a id="XE_class__purpose_of" name="XE_class__purpose_of"></a><a id="Purpose" name="Purpose"></a> 
<p>
    以下人员使用类：
</p>
<ul>
    <li>
        <b>实施者</b>，在实施类时将类用于规范。
    </li>
    <li>
        系统其他部件的<b>设计人员</b>用类来了解将如何使用他们设计的功能，及其这些功能的关系含义。
    </li>
    <li>
        <b>用例设计者</b>，以在用例实现中实例化它们。
    </li>
    <li>
        <b>设计系统下一版本的人员</b>，使用类来了解设计模型中的功能。
    </li>
    <li>
        <b>测试类的人员</b>，使用类来规划测试活动。
    </li>
</ul></td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">容器工件</th><td colspan="2" class="sectionTableCell">
<ul>
<li>
<a href="./../../core.base_rup/workproducts/rup_design_model_2830034D.html" guid="{8CDAEAD4-5E84-4F50-87FD-3240ED047DE7}">设计模型</a>
</li>
</ul>
</td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading">角色</th><td width="42%" class="sectionTableCell"><span class="sectionTableCellHeading">负责人:
								</span>
<ul>
<li>
<a href="./../../core.base_rup/roles/rup_designer_BA8DE74E.html" guid="{DB21F5EF-810B-4994-B120-79FA8774FA9D}">设计人员</a>
</li>
</ul>
</td><td class="sectionTableCell"><span class="sectionTableCellHeading">修改者:
								</span>
<ul>
<li>
<a href="./../../core.base_rup/roles/rup_software_architect_DB0BF177.html" guid="{4AC346F0-E6FC-4D2C-8410-2EDF8DDDC91D}">软件设计人员</a>
</li>
<li>
<a href="./../../core.base_rup/roles/rup_designer_BA8DE74E.html" guid="{DB21F5EF-810B-4994-B120-79FA8774FA9D}">设计人员</a>
</li>
</ul>
</td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading">任务</th><td width="42%" class="sectionTableCell"><span class="sectionTableCellHeading">输入至:
								</span>
<ul>
<li>
<a href="./../../core.base_rup/tasks/database_design_8552DD3.html" guid="{2E74A414-49F5-4F27-BFCB-AA2DAC675F58}">数据库设计</a>
</li>
</ul>
<br>
<ul>
<li>
<a href="./../../core.base_rup/tasks/class_design_98F20FF9.html" guid="{27AE0601-2E95-4A6A-8EB3-0A4BA8E5626B}">类设计</a>
</li>
<li>
<a href="./../../core.base_rup/tasks/use_case_design_92D13EEE.html" guid="{76E2B93D-051C-4B8C-BEA1-B40A40CBD986}">用例设计</a>
</li>
</ul>
</td><td class="sectionTableCell"><span class="sectionTableCellHeading">输出自:
								</span>
<ul>
<li>
<a href="./../../core.base_rup/tasks/incorporate_design_elements_D3C582B5.html" guid="{5C647173-4E32-4594-96A9-2548B47722FA}">合并现有设计元素</a>
</li>
<li>
<a href="./../../core.base_rup/tasks/class_design_98F20FF9.html" guid="{27AE0601-2E95-4A6A-8EB3-0A4BA8E5626B}">类设计</a>
</li>
<li>
<a href="./../../core.base_rup/tasks/identify_design_mechanisms_9A197FBC.html" guid="{C7A26BD7-3820-48D9-830F-684C3AF155F9}">确定设计机制</a>
</li>
<li>
<a href="./../../core.base_rup/tasks/identify_design_elements_E884AB82.html" guid="{97D7343A-6993-4AB7-8F86-4DAC8C9075C8}">确定设计元素</a>
</li>
<li>
<a href="./../../core.base_rup/tasks/subsystem_design_5D1BCC0C.html" guid="{CAA385CA-2BA2-40F2-8FE3-E21089D02119}">子系统设计</a>
</li>
</ul>
</td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading">流程使用情况</th><td class="sectionTableCell" colspan="2">
<ul>
<li>
<a href="./../../core.base_rup/capabilitypatterns/analysis_design_49725AC4.html" guid="{002674F9-6511-4D15-8623-B761D8C48986}">分析和设计</a>
									&nbsp;&gt;&nbsp;
								<a href="./../../core.base_rup/capabilitypatterns/design_the_database_2BE59DB0.html" guid="{FB3EB753-A979-4849-B57B-97F39271F82B}">设计数据库</a>
									&nbsp;&gt;&nbsp;
								<a href="./../../core.base_rup/capabilitypatterns/rup_design_class_E1A6A499.html" guid="_Day3gL7XEdqboqO8QqaIwQ">设计类</a>
</li>
<li>
<a href="./../../core.base_rup/capabilitypatterns/analysis_design_49725AC4.html" guid="{002674F9-6511-4D15-8623-B761D8C48986}">分析和设计</a>
									&nbsp;&gt;&nbsp;
								<a href="./../../core.base_rup/capabilitypatterns/design_components_13B33BFC.html" guid="{9C683674-97C1-4AEE-8DB0-9514AEFF698E}">设计组件</a>
									&nbsp;&gt;&nbsp;
								<a href="./../../core.base_rup/capabilitypatterns/rup_design_class_7B5C3BC4.html" guid="_CQ1sCBi2Edq_uI8xTPML6g">设计类</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">定制</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">说明选项</th><td class="sectionTableCell"><p>
    UML 说明：类。
</p>
<p>
    类可能有以下属性：
</p>
<div align="left">
    <table     style="BORDER-RIGHT: rgb(128,128,128) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-BOTTOM: rgb(128,128,128) 1px solid"      cellspacing="0" bordercolordark="#808080" cellpadding="4" width="85%" bordercolorlight="#808080" border="1">
        <tbody valign="top">
            <tr>
                <td width="21%">
                    <p class="tableheading">
                        <b>属性名</b>&nbsp;
                    </p>
                </td>
                <td width="41%">
                    <p class="tableheading">
                        <b>简要描述</b>&nbsp;
                    </p>
                </td>
                <td width="38%">
                    <p class="tableheading">
                        <b>UML 说明</b>&nbsp;
                    </p>
                </td>
            </tr>
            <tr>
                <td width="21%">
                    名称&nbsp;
                </td>
                <td width="41%">
                    类名。&nbsp;
                </td>
                <td width="38%">
                    模型元素上的属性“名称”。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    简要描述&nbsp;
                </td>
                <td width="41%">
                    类的角色和目的的简述。&nbsp;
                </td>
                <td width="38%">
                    “短文本”类型的标注值。 &nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    职责&nbsp;
                </td>
                <td width="41%">
                    由类定义的职责。&nbsp;
                </td>
                <td width="38%">
                    超类“Type”上的（预定义的）标注值。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    关系&nbsp;
                </td>
                <td width="41%">
                    类参与的关系，例如泛化关系、关联和聚集。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“拥有”，由封闭包所拥有。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    操作&nbsp;
                </td>
                <td width="41%">
                    类定义的操作。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“成员”，由超类“Type”所拥有。&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    属性&nbsp;
                </td>
                <td width="41%">
                    由类定义的属性。&nbsp;
                </td>
                <td width="38%">
                    - " -&nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    特殊需求&nbsp;
                </td>
                <td width="41%">
                    文本描述，用于收集类上的所有需求（例如非功能需求），在设计模型中未考虑但需要在实施时考虑这些需求。&nbsp;
                </td>
                <td width="38%">
                    “短文本”类型的标注值。 &nbsp;
                </td>
            </tr>
            <tr>
                <td width="21%">
                    图&nbsp;
                </td>
                <td width="41%">
                    所有与类有关的图，例如交互图、类图或状态表图。&nbsp;
                </td>
                <td width="38%">
                    通过聚集“拥有”，由封闭包所拥有。&nbsp;
                </td>
            </tr>
        </tbody>
    </table><br />
</div>
<p>
    <a id="Tailoring" name="Tailoring"></a>
</p>
<p>
    可使用构造型以某种方式限定设计类或约束实施。例如，可以使用构造型表示该类代表特定编程语言构造。
</p>
<p>
    关于更多信息，请参阅<a class="elementLinkWithUserText" href="./../../core.base_rup/guidances/guidelines/design_class_E98280BF.html" guid="2.914882084937444E-305">工作产品指南：设计类</a>。
</p></td>
</tr>
</table>
</div>
<div class="sectionHeading">更多信息</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">核对表</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../core.base_rup/guidances/checklists/design_class_436B6210.html" guid="1.1028389988231071E-306">设计类</a>
</li>
</ul>
</td>
</tr>
<tr valign="top">
<th scope="row" class="sectionTableHeading">指南</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../core.base_rup/guidances/guidelines/design_class_E98280BF.html" guid="2.914882084937444E-305">设计类</a>
</li>
<li>
<a href="./../../core.base_rup/guidances/guidelines/testing_and_evaluating_classes_EBAC0D94.html" guid="1.1862467594435116E-304">测试和评估类</a>
</li>
<li>
<a href="./../../core.base_rup/guidances/guidelines/building_web_applications_with_the_uml_922EDDA8.html" guid="4.559124609104376E-305">使用 UML 构建 Web 应用程序</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
